package com.qidian.mes.service.impl;

import com.qidian.mes.mapper.WorkOrderBomMapper;
import com.qidian.mes.service.WorkOrderBomService;
import com.qidian.mes.util.pojo.MESResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class WorkOrderBomServiceImpl implements WorkOrderBomService {
    @Autowired
    private WorkOrderBomMapper workOrderBomMapper;
    @Override
    public MESResult list(Long workOrderId) {
        return MESResult.ok(workOrderBomMapper.list(workOrderId));
    }
}
